package com.springboot.astra.mapper;


import com.springboot.astra.bean.Carousel;

import java.util.List;

public interface CarouselMapper {
    Carousel getOneById(Integer id);
    List<Carousel> getAll();
    void insertCarousel(Carousel carousel);
    void updateOneById(Carousel carousel);
    void deleteOneById(Integer id);
}
